package cn.livingCloud.dto;

import cn.livingCloud.entity.user.User;

import java.util.List;

/**
 * Created by 唐旭 on 2015/12/2.
 */
public class UserListDto extends Page<UserDto> {

    private String name;

    @Override
    public void addAllList(List allUsers) {
        for (Object item : allUsers) {
            list.add(new UserDto((User) item));
        }
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
